<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: texture-font.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">texture-font.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="vector_8h_source.html">vector.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="texture-atlas_8h_source.html">texture-atlas.h</a>&quot;</code><br/>
</div>
<p><a href="texture-font_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structkerning__t.html">kerning_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A structure that hold a kerning value relatively to a charcode.  <a href="structkerning__t.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__glyph__t.html">texture_glyph_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A structure that describe a glyph.  <a href="structtexture__glyph__t.html#details">More...</a><br/></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structtexture__font__t.html">texture_font_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Texture font structure.  <a href="structtexture__font__t.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga904424e7b0e2be14b694599b5c483e64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtexture__font__t.html">texture_font_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__texture-font.html#ga904424e7b0e2be14b694599b5c483e64">texture_font_new</a> (<a class="el" href="structtexture__atlas__t.html">texture_atlas_t</a> *atlas, const char *filename, const float size)</td></tr>
<tr class="memdesc:ga904424e7b0e2be14b694599b5c483e64"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function creates a new texture font from given filename and size.  <a href="group__texture-font.html#ga904424e7b0e2be14b694599b5c483e64"></a><br/></td></tr>
<tr class="memitem:gaa894ab1def90197eaad58b578e7a2440"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__texture-font.html#gaa894ab1def90197eaad58b578e7a2440">texture_font_delete</a> (<a class="el" href="structtexture__font__t.html">texture_font_t</a> *self)</td></tr>
<tr class="memdesc:gaa894ab1def90197eaad58b578e7a2440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a texture font.  <a href="group__texture-font.html#gaa894ab1def90197eaad58b578e7a2440"></a><br/></td></tr>
<tr class="memitem:ga06e988448ef6e118aa6e273df5892937"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtexture__glyph__t.html">texture_glyph_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__texture-font.html#ga06e988448ef6e118aa6e273df5892937">texture_font_get_glyph</a> (<a class="el" href="structtexture__font__t.html">texture_font_t</a> *self, wchar_t charcode)</td></tr>
<tr class="memdesc:ga06e988448ef6e118aa6e273df5892937"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request a new glyph from the font.  <a href="group__texture-font.html#ga06e988448ef6e118aa6e273df5892937"></a><br/></td></tr>
<tr class="memitem:ga912b65dd3d45ced38640cdfbecbb51c5"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__texture-font.html#ga912b65dd3d45ced38640cdfbecbb51c5">texture_font_load_glyphs</a> (<a class="el" href="structtexture__font__t.html">texture_font_t</a> *self, const wchar_t *charcodes)</td></tr>
<tr class="memdesc:ga912b65dd3d45ced38640cdfbecbb51c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request the loading of several glyphs at once.  <a href="group__texture-font.html#ga912b65dd3d45ced38640cdfbecbb51c5"></a><br/></td></tr>
<tr class="memitem:ga77d1adb569e7eaa4aaf776dc28415c66"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__texture-font.html#ga77d1adb569e7eaa4aaf776dc28415c66">texture_glyph_get_kerning</a> (const <a class="el" href="structtexture__glyph__t.html">texture_glyph_t</a> *self, const wchar_t charcode)</td></tr>
<tr class="memdesc:ga77d1adb569e7eaa4aaf776dc28415c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the kerning between two horizontal glyphs.  <a href="group__texture-font.html#ga77d1adb569e7eaa4aaf776dc28415c66"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author:</dt><dd>Nicolas Rougier (<a href="#" onclick="location.href='mai'+'lto:'+'Nic'+'ol'+'as.'+'Ro'+'ugi'+'er'+'@in'+'ri'+'a.f'+'r'; return false;">Nicol<span style="display: none;">.nosp@m.</span>as.R<span style="display: none;">.nosp@m.</span>ougie<span style="display: none;">.nosp@m.</span>r@in<span style="display: none;">.nosp@m.</span>ria.f<span style="display: none;">.nosp@m.</span>r</a>) </dd></dl>
</div></div><!-- contents -->
</div>
</body>
</html>
